package com.vanke.devops.domain.manager.docker.extend.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author 陈景阳
 * @since 2018/6/7
 */
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PluginSpec implements Serializable{

    private static final long serialVersionUID = 1L;

    @JsonProperty("Name")
    private String name;

    @JsonProperty("Remote")
    private String remote;

    @JsonProperty("Disabled")
    private Boolean disabled;

    @JsonProperty("PluginPrivilege")
    private List<Map<String,Object>> pluginPrivilege;
}
